import React from "react";
import CountStore from "./store";
import MST from "./MST";
import { TimeTraveller } from "mst-middlewares";

const countStore = CountStore.create({ count: 0 });
const timeTraveller = TimeTraveller.create({}, { targetStore: countStore });

const app = () => {
  return <MST store={countStore} timeTraveller={timeTraveller} />;
};

export default app;
